<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>个人成绩</title>
<script type="text/javascript">
function fandeng() {
	window.location="login.jsp"
}	
function fanzhu() {
	window.location="main?method=stuMain"
}	
</script>
</head>
<body>

<table>
<tr>
	<c:forEach items="${list}" var="g">
	<th><label>${g.course.name}:</label><span>${g.grade}</span></th><td>
	</c:forEach>
</tr>
</table>

	<button onclick="fandeng()" class="btn1">返回登录页面</button>
	<button onclick="fanzhu()" class="btn">返回主页面</button>

</body>
</html>